<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>Insert title here</title>
</head>
<body>
<h2>首页</h2>
<div>
    欢迎
    <form th:action="@{/logout}" method="post">
        <input type="submit" value="退出登录"/>
    </form>

</div>
</body>
</html>